package com.aioz.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Aioz
 * @since 2022-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Purchase implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private Long id;

    /**
     * 商品名称
     */
    private String commodity;

    /**
     * 用户ID
     */
    private Integer userCard;

    /**
     * 下单用户名
     */
    private String buyer;

    /**
     * 订单状态
     */
    private int status;

    /**
     * 下单时间
     */
    private LocalDateTime time;
}
